/**
 * Copyright (c) 2000-2005.Huaxia Dadi Distance Learning Services Co.,Ltd.
 * All rights reserved.
 */

package com.kingbi.system.role.model;

import java.io.Serializable;
import java.util.List;
import java.util.Set;

import com.kingbi.system.function.model.FunctionModel;
import com.kingbi.system.people.model.PeopleModel;


/**
 * Class description goes here.
 * 
 * Created by Auto Code Produce System
 * User: 
 * Date: 20091028
 * Time: 145359
 */

public class RoleModel implements Serializable {

        /*
        *角色ID
        */
        private int roleID;
        /*
        *角色编码
        */
        private String roleCode = "";
        /*
        *角色机构范围
        */
        private String roleOrg = "";
        /*
        *角色名称
        */
        private String roleName = "";
        /*
        *角色说明
        */
        private String roleDesc = "";
        
       private Set<PeopleModel> peoples;
 

       /*
        * 角色功能
        */
        private List<FunctionModel> roleFunList;
        public List<FunctionModel> getRoleFunList()
        {
            return roleFunList;
        }


        public void setRoleFunList(List<FunctionModel> roleFunList)
        {
            this.roleFunList = roleFunList;
        }


        public String getRoleCode()
        {
                return roleCode;
        }
 

        public void setRoleCode(String roleCode)
        {
                this.roleCode = roleCode;
        }
 

        public String getRoleOrg()
        {
                return roleOrg;
        }
 

        public void setRoleOrg(String roleOrg)
        {
                this.roleOrg = roleOrg;
        }
 

        public String getRoleName()
        {
                return roleName;
        }
 

        public void setRoleName(String roleName)
        {
                this.roleName = roleName;
        }
 

        public String getRoleDesc()
        {
                return roleDesc;
        }
 

        public void setRoleDesc(String roleDesc)
        {
                this.roleDesc = roleDesc;
        }
 

        /** default constructor */
        public RoleModel() {
        }

        /** full constructor */
        public RoleModel(int roleID,String roleCode,String roleOrg,String roleName,String roleDesc) {
                        this.roleID = roleID;
                this.roleCode = roleCode;
                this.roleOrg = roleOrg;
                this.roleName = roleName;
                this.roleDesc = roleDesc;
        }


        public int getRoleID()
        {
            return roleID;
        }


        public void setRoleID(int roleID)
        {
            this.roleID = roleID;
        }


		public Set<PeopleModel> getPeoples() {
			return peoples;
		}


		public void setPeoples(Set<PeopleModel> peoples) {
			this.peoples = peoples;
		}





}
